<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新增员工</title>
</head>
<body>

    <form action="AddEmployeeServlet" method="post">        
             
             员工姓名<input type="text" name="name">
             员工性别<input type="text" name="sex"><br>
             员工年龄<input type="text" name="age">
             所属部门<input type="text" name="dapartment"><br>
             所在职务<input type="text" name="type"> 
             工龄<input type="text" name="year"><br>       
        <input type="submit" value="保存"><br>   
     <input type="text" name="id" style="display: none">          
     </form>
</body>
</html>